package haemers.reflection.data.vo 
{
	/**
	 * A simple VO class with all the possible properties a Accessor could have.
	 * @author Jonathan
	 */
	public class AccessorVO 
	{
		private var _id:int;
		private var _name:String;
		
		private var _nested:AccessorVO;
		private var _ignoredProperty:String;
		
		public function AccessorVO() 
		{
		}
		
		/** Getters & Setters **/
		public function get id() : int
		{
			return _id;
		}
		public function set id(value:int) : void 
		{
			_id = value;
		}
		
		public function get name() : String
		{
			return _name;
		}
		public function set name(value:String) : void 
		{
			_name = value;
		}
		
		[Serialize(name="child")]
		public function get nested() : AccessorVO
		{
			return _nested;
		}
		public function set nested(value:AccessorVO) : void 
		{
			_nested = value;
		}
		
		[Serialize(ignore = "true")]
		public function get ignoredProperty() : String
		{
			return _ignoredProperty;
		}
		public function set ignoredProperty(value:String) : void 
		{
			_ignoredProperty = value;
		}
	}

}